package com.xingxue.entity;

import org.yihang.annotation.DeleteBy;
import org.yihang.annotation.FindBy;
import org.yihang.annotation.FindByVo;
import org.yihang.annotation.VoType;
import org.yihang.annotation.easyui.*;

public class Person {

    @FindBy(withMulti = true) @DeleteBy(withMulti=true)
    @DatagridColumn(title="编号")
    @Input(type = InputType.Text, readonly = true, scope = InputScope.UPDATE, label = "编号")
    private int id;

    @DatagridColumn(title="姓名")
    @Input(label = "姓名")
    @FindByVo(voType= VoType.like) @Search(label = " 姓名")
    private String name;

    @DatagridColumn(title="年龄")
    @Input(label = "年龄")
    private Integer age;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
